package Service;

import Dao.BerthDao;
import POJO.Berth;
import POJO.InputPOJO.BerthBindInput;
import POJO.InputPOJO.BerthInput;
import POJO.Vo.BerthVo;

import java.util.List;

public interface BerthService {
    /*病床新增接口*/
    public  void  insertBerth(Berth berth);

    public List<BerthVo> selectBerth(BerthInput berthInput);

    /*分页 ，total查询*/
    public int selectBerthTotal(BerthInput berthInput);

    /*病床查询接口，输入为科室名和床位号*/
    public BerthVo selectBerthByBerth(Berth berth);

    /*通过病床ID删除病床*/
    public void deleteBerthById(int berthId);

    /*通过病床ID查询病床*/
    public BerthVo selectBerthById(int berthId);

    /* --床垫绑定--*/
    public  void  berthBind(BerthBindInput berthBindInput);
}
